package STUDENT.TRANDAODAIVI.OOPs.BaitapOOPEX2;
class Square{
	float a;
	public Square(float side){
		a=side;
	}
	public void toString(Square object){
		  System.out.println("Side: "+a);
		  System.out.println("Perimeter: "+a*4);
		  System.out.println("Area: "+a*a);
	}
}
public class BT3 {
public static void main(String[] args){
	Square hinhvuong=new Square(4);
	hinhvuong.toString(hinhvuong);
	
}
}
